\hypertarget{classSession}{\section{Session类 参考}
\label{classSession}\index{Session@{Session}}
}
\subsection*{静态 Public 成员函数}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{classSession_af23e19ace7b0745709f5d940010a5280}{factory} ()
\item 
static \hyperlink{classSession_a3ab93001efaf4399c6b2a576c0901454}{get} (\$\hyperlink{classSession_aa0788bc73a6a46ddba53f6934586b128}{name})
\item 
static \hyperlink{classSession_ae72b841db9a6a910b1c23403601292e2}{set} (\$\hyperlink{classSession_aa0788bc73a6a46ddba53f6934586b128}{name}, \$val='')
\item 
static \hyperlink{classSession_a83561d36cc71b0f9d393321f0665f884}{remove} (\$\hyperlink{classSession_aa0788bc73a6a46ddba53f6934586b128}{name})
\item 
static \hyperlink{classSession_a8b98a54a579df353c7dfeae6419ce1bd}{is\-\_\-set} (\$\hyperlink{classSession_aa0788bc73a6a46ddba53f6934586b128}{name})
\item 
static \hyperlink{classSession_a7894c52491cc0185c737a680f1686f8f}{id} (\$id=null)
\item 
static \hyperlink{classSession_aa0788bc73a6a46ddba53f6934586b128}{name} ()
\end{DoxyCompactItemize}


\subsection{详细描述}
session 工厂函数 \begin{DoxyAuthor}{作者}
七觞酒  \href{mailto:739800600@qq.com}{\tt 739800600@qq.\-com} 
\end{DoxyAuthor}
\begin{DoxyDate}{日期}
2013-\/4-\/20 
\end{DoxyDate}


\subsection{成员函数说明}
\hypertarget{classSession_af23e19ace7b0745709f5d940010a5280}{\index{Session@{Session}!factory@{factory}}
\index{factory@{factory}!Session@{Session}}
\subsubsection[{factory}]{\setlength{\rightskip}{0pt plus 5cm}static Session\-::factory (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classSession_af23e19ace7b0745709f5d940010a5280}
初始化session \hypertarget{classSession_a3ab93001efaf4399c6b2a576c0901454}{\index{Session@{Session}!get@{get}}
\index{get@{get}!Session@{Session}}
\subsubsection[{get}]{\setlength{\rightskip}{0pt plus 5cm}static Session\-::get (
\begin{DoxyParamCaption}
\item[{}]{\$name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classSession_a3ab93001efaf4399c6b2a576c0901454}
获取session值 \hypertarget{classSession_a7894c52491cc0185c737a680f1686f8f}{\index{Session@{Session}!id@{id}}
\index{id@{id}!Session@{Session}}
\subsubsection[{id}]{\setlength{\rightskip}{0pt plus 5cm}static Session\-::id (
\begin{DoxyParamCaption}
\item[{}]{\$id = {\ttfamily null}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classSession_a7894c52491cc0185c737a680f1686f8f}
获得 当前 session id \hypertarget{classSession_a8b98a54a579df353c7dfeae6419ce1bd}{\index{Session@{Session}!is\-\_\-set@{is\-\_\-set}}
\index{is\-\_\-set@{is\-\_\-set}!Session@{Session}}
\subsubsection[{is\-\_\-set}]{\setlength{\rightskip}{0pt plus 5cm}static Session\-::is\-\_\-set (
\begin{DoxyParamCaption}
\item[{}]{\$name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classSession_a8b98a54a579df353c7dfeae6419ce1bd}
判断session是否设置 \hypertarget{classSession_aa0788bc73a6a46ddba53f6934586b128}{\index{Session@{Session}!name@{name}}
\index{name@{name}!Session@{Session}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}static Session\-::name (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classSession_aa0788bc73a6a46ddba53f6934586b128}
获得 当前session 名 \hypertarget{classSession_a83561d36cc71b0f9d393321f0665f884}{\index{Session@{Session}!remove@{remove}}
\index{remove@{remove}!Session@{Session}}
\subsubsection[{remove}]{\setlength{\rightskip}{0pt plus 5cm}static Session\-::remove (
\begin{DoxyParamCaption}
\item[{}]{\$name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classSession_a83561d36cc71b0f9d393321f0665f884}
设置session值 \hypertarget{classSession_ae72b841db9a6a910b1c23403601292e2}{\index{Session@{Session}!set@{set}}
\index{set@{set}!Session@{Session}}
\subsubsection[{set}]{\setlength{\rightskip}{0pt plus 5cm}static Session\-::set (
\begin{DoxyParamCaption}
\item[{}]{\$name, }
\item[{}]{\$val = {\ttfamily ''}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classSession_ae72b841db9a6a910b1c23403601292e2}
设置session值 

该类的文档由以下文件生成\-:\begin{DoxyCompactItemize}
\item 
templi/Session.\-class.\-php\end{DoxyCompactItemize}
